package com.central.common.entity

import com.baomidou.mybatisplus.annotation.TableName
import com.central.common.model.SuperEntity
import java.io.Serializable

/**
 * @author  fly
 * @date  2021/5/26 14:30
 * @version 1.0
 */
@TableName("fly_comment")
open class Comment(


    /**
     * 评论内容
     */
    var content: String? = "",

    /**
     * 上级id
     */
    var pid: Long? = 0L,

    /**
     * 顶级id
     */
    var topId: Long? = 0L,

    /**
     * 关联的id
     */
    var relevanceId: Long? = null,

    /**
     * 评论类型
     */
    var type: Int? = null,

) : SuperEntity<Comment>(), Serializable {

    companion object {
        const val serialVersionUID = 749360940290141180L
    }
}
